package com.wn32.main.demo2;

public class Main2 {
    public static void main(String[] args) {
        Father o1=new Son();
        o1.m1();
        o1.m2();

        Father o2=new Father();
        o2.m1();
        o2.m2();

        Son o3=new Son();
        o3.m1();
        o3.m2();
        o3.m3();
    }
}
